
The following chart demonstrates that it is possible to approximate
the functionality of our World in Data grapher for multicountry
selection using R, specifically with the crosstalk package
and a small amount of custom JavaScript. For more information on how to
achieve this, see this
Stack Overflow question.
Data source: World Happiness Report